<?php if (!defined('THINK_PATH')) exit();?><!-- 头部 -->
<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>小尚公益后台</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="/gy/Public/admin/css/font.css">
	<link rel="stylesheet" href="/gy/Public/admin/css/xadmin.css">
    <link rel="stylesheet" href="https://cdn.bootcss.com/Swiper/3.4.2/css/swiper.min.css">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="https://cdn.bootcss.com/Swiper/3.4.2/js/swiper.jquery.min.js"></script>
    <script src="/gy/Public/admin/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/gy/Public/admin/js/xadmin.js"></script>

</head>
<body>
    <!-- 顶部开始 -->
    <div class="container">
        <div class="logo"><a href="">小尚 公益</a></div>
        <div class="open-nav"><i class="iconfont">&#xe699;</i></div>
        <ul class="layui-nav right" lay-filter="">
          <li class="layui-nav-item">
            <a href="javascript:;"><?php echo ($_SESSION['username']); ?></a>
            <dl class="layui-nav-child"> <!-- 二级菜单 -->
              <!-- <dd><a href="">个人信息</a></dd>
              <dd><a href="">切换帐号</a></dd> -->
              <dd><a href="<?php echo U('admin/login/logout');?>">退出</a></dd>
            </dl>
          </li>
          <!-- <li class="layui-nav-item"><a href="<?php echo U('index/index/index');?>">前台首页</a></li> -->
        </ul>
    </div>
    <!-- 顶部结束 -->
    <!-- 中部开始 -->
    <div class="wrapper">
        <!-- 左侧菜单开始 -->
        <div class="left-nav">
          <div id="side-nav">
            <ul id="nav">
                <li class="list" current>
                    <a href="<?php echo U('admin/index/index');?>">
                        <i class="iconfont">&#xe761;</i>
                        欢迎页面
                        <i class="iconfont nav_right">&#xe697;</i>
                    </a>
                </li>
                <li class="list">
                    <a href="javascript:;">
                        <i class="iconfont">&#xe70b;</i>
                        用户管理
                        <i class="iconfont nav_right">&#xe697;</i>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a href="<?php echo U('admin/user/index');?>">
                                <i class="iconfont">&#xe6a7;</i>
                                用户列表
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="list">
                    <a href="javascript:;">
                        <i class="iconfont">&#xe71b;</i>
                        发起管理
                        <i class="iconfont nav_right">&#xe697;</i>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a href="<?php echo U('admin/user/myfq');?>">
                                <i class="iconfont">&#xe6a7;</i>
                                发起列表
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="list">
                    <a href="javascript:;">
                        <i class="iconfont">&#xe70c;</i>
                        物品管理
                        <i class="iconfont nav_right">&#xe697;</i>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a href="<?php echo U('admin/userwp/index');?>">
                                <i class="iconfont">&#xe6a7;</i>
                                物品列表
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="list" >
                    <a href="javascript:;">
                        <i class="iconfont">&#xe6a4;</i>
                        项目管理
                        <i class="iconfont nav_right">&#xe697;</i>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a href="<?php echo U('admin/xm/index');?>">
                                <i class="iconfont">&#xe6a7;</i>
                                项目列表
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="list" >
                    <a href="javascript:;">
                        <i class="iconfont">&#xe6a8;</i>
                        管理员管理
                        <i class="iconfont nav_right">&#xe697;</i>
                    </a>
                    <ul class="sub-menu" style="display:none">
                        <li>
                            <a href="<?php echo U('admin/index/admin');?>">
                                <i class="iconfont">&#xe6a7;</i>
                                管理员列表
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="list" >
                    <a href="javascript:;">
                        <i class="iconfont">&#xe6a2;</i>
                        常见问题
                        <i class="iconfont nav_right">&#xe697;</i>
                    </a>
                    <ul class="sub-menu" style="display:none">
                        <li>
                            <a href="<?php echo U('admin/log/problem');?>">
                                <i class="iconfont">&#xe6a7;</i>
                                问题列表
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="list" >
                    <a href="javascript:;">
                        <i class="iconfont">&#xe6a3;</i>
                        系统信息
                        <i class="iconfont nav_right">&#xe697;</i>
                    </a>
                    <ul class="sub-menu" style="display:none">
                        <li>
                            <a href="<?php echo U('admin/log/index');?>">
                                <i class="iconfont">&#xe6a7;</i>
                                历史记录
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
          </div>
        </div>
        <!-- 左侧菜单结束 -->

        <!-- 右侧主体开始 -->
        <div class="page-content">
          <div class="content">
            <!-- 右侧内容框架，更改从这里开始 -->
            <!-- <blockquote class="layui-elem-quote">注意：x-admin 1.1每个页面都可以独立设置一个背景主题，如果每个都设置会比较消耗本地的存储，如果想全部恢复，请重置。</blockquote>
            <blockquote class="layui-elem-quote">欢迎使用x-admin 后台模版！<span class="f-14">v1.2</span></blockquote> -->
            <fieldset class="layui-elem-field layui-field-title site-title">
              <legend><a name="default">信息统计</a></legend>
            </fieldset>
            <!-- <table class="layui-table">
                <thead>
                    <tr>
                        <th>统计</th>
                        <th>资讯库</th>
                        <th>图片库</th>
                        <th>产品库</th>
                        <th>用户</th>
                        <th>管理员</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>总数</td>
                        <td>92</td>
                        <td>9</td>
                        <td>0</td>
                        <td>8</td>
                        <td>20</td>
                    </tr>
                    <tr>
                        <td>今日</td>
                        <td>0</td>
                        <td>0</td>
                        <td>0</td>
                        <td>0</td>
                        <td>0</td>
                    </tr>
                    <tr>
                        <td>昨日</td>
                        <td>0</td>
                        <td>0</td>
                        <td>0</td>
                        <td>0</td>
                        <td>0</td>
                    </tr>
                    <tr>
                        <td>本周</td>
                        <td>2</td>
                        <td>0</td>
                        <td>0</td>
                        <td>0</td>
                        <td>0</td>
                    </tr>
                    <tr>
                        <td>本月</td>
                        <td>2</td>
                        <td>0</td>
                        <td>0</td>
                        <td>0</td>
                        <td>0</td>
                    </tr>
                </tbody>
            </table> -->
            <table class="layui-table">
                <thead>
                    <tr>
                        <th colspan="2" scope="col">服务器信息</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <th width="30%">服务器计算机名</th>
                        <td><span id="lbServerName"><?php echo ($_SERVER['SERVER_NAME']); ?></span></td>
                    </tr>
                    <tr>
                        <td>服务器IP地址</td>
                        <td><?php echo ($_SERVER['HTTP_HOST']); ?></td>
                    </tr>
                    <tr>
                        <td>服务器域名</td>
                        <td><?php echo ($_SERVER["HTTP_HOST"]); ?></td>
                    </tr>
                    <tr>
                        <td>服务器端口 </td>
                        <td><?php echo ($_SERVER['SERVER_PORT']); ?></td>
                    </tr>
                    <tr>
                        <td>本文件所在文件夹 </td>
                        <td><?php echo ($_SERVER["SCRIPT_FILENAME"]); ?></td>
                    </tr>
                    <tr>
                        <td>服务器操作系统 </td>
                        <td><?php echo php_uname('s') ?></td>
                    </tr>
                    <tr>
                        <td>系统所在文件夹 </td>
                        <td><?php echo ($_SERVER["SystemRoot"]); ?></td>
                    </tr>
                    <tr>
                        <td>服务器脚本超时时间 </td>
                        <td><?php echo ini_get("max_execution_time") ?></td>
                    </tr>
                    <tr>
                        <td>服务器的语言种类 </td>
                        <td><?php echo ($_SERVER['HTTP_ACCEPT_LANGUAGE']); ?></td>
                    </tr>
                    <tr>
                        <td>服务器当前时间 </td>
                        <td><?php echo date('Y-m-d H:i:s',time())?></td>
                    </tr>
                    <tr>
                        <td>服务器IE版本 </td>
                        <td><?php echo ($_SERVER["HTTP_USER_AGENT"]); ?></td>
                    </tr>
                    <tr>
                        <td>CPU 总数 </td>
                        <td><?php echo $_SERVER['PROCESSOR_IDENTIFIER'] ?></td>
                    </tr>
                    <tr>
                        <td>CPU 类型 </td>
                        <td>x86 Family 6 Model 42 Stepping 1, GenuineIntel</td>
                    </tr>
                    <tr>
                        <td>当前SessionID </td>
                        <td><?php echo ($_SESSION['id']); ?></td>
                    </tr>
                    <tr>
                        <td>当前系统用户名 </td>
                        <td><?php echo ($_SESSION['username']); ?></td>
                    </tr>
                </tbody>
            </table>
            <!-- 右侧内容框架，更改从这里结束 -->
          </div>
        </div>
        <!-- 右侧主体结束 -->
    </div>
    <!-- 中部结束 -->
    <!-- 尾部 -->
        <!-- 底部开始 -->
    <div class="footer" style="text-align: center;position: absolute;bottom: 0px;">
        <div class="copyright">Copyright ©2017 x-admin v2.3 All Rights Reserved. 小尚公益</div> 
        <?php echo "脚本执行时间 ", round(microtime(true) - $_SERVER["REQUEST_TIME_FLOAT"], 2), "s"; ?> 
    </div>
    <!-- 底部结束 -->
    <!-- 背景切换开始 -->
	<div class="bg-changer">
        <div class="swiper-container changer-list">
            <div class="swiper-wrapper">
                <div class="swiper-slide"><img class="item" src="/gy/Public/admin/images/a.jpg" alt=""></div>
                <div class="swiper-slide"><img class="item" src="/gy/Public/admin/images/b.jpg" alt=""></div>
                <div class="swiper-slide"><img class="item" src="/gy/Public/admin/images/c.jpg" alt=""></div>
                <div class="swiper-slide"><img class="item" src="/gy/Public/admin/images/d.jpg" alt=""></div>
                <div class="swiper-slide"><img class="item" src="/gy/Public/admin/images/e.jpg" alt=""></div>
                <div class="swiper-slide"><img class="item" src="/gy/Public/admin/images/f.jpg" alt=""></div>
                <div class="swiper-slide"><img class="item" src="/gy/Public/admin/images/g.jpg" alt=""></div>
                <div class="swiper-slide"><img class="item" src="/gy/Public/admin/images/h.jpg" alt=""></div>
                <div class="swiper-slide"><img class="item" src="/gy/Public/admin/images/i.jpg" alt=""></div>
                <div class="swiper-slide"><img class="item" src="/gy/Public/admin/images/j.jpg" alt=""></div>
                <div class="swiper-slide"><img class="item" src="/gy/Public/admin/images/k.jpg" alt=""></div>
                <div class="swiper-slide"><span class="reset">初始化</span></div>
            </div>
        </div>
        <div class="bg-out"></div>
        <div id="changer-set"><i class="iconfont">&#xe696;</i></div>   
    </div>
    <!-- 背景切换结束 -->
</body>
</html>